package main;
import list.*;
import iterators.*;

public class Main {

	public static void main(String[] args) {
		List l = new List();
		l.Append(new Integer(2));
		l.Append(new Integer(5));
		l.Append(new Integer(10));
		l.Append(new String("ceva"));
		System.out.println("Lista este: ");
		Iterator i = l.CreateIterator();
		for(i.First();i.IsDone();i.Next()){
			System.out.println("--"+i.CurrentItem());
		}
	}
}
